package jdmx.framework.service.patterns.typed;

import jdmx.framework.service.Bo;
import jdmx.framework.service.Dao;
import jdmx.framework.service.ServiceContext;
import jdmx.library.helpers.TypeHelper;

public class BoTyped extends Bo {
	
	@Override
	protected Dao getDao() {
		String packageName = TypeHelper.getObjectPackageName(this);
		return (DaoTyped) ServiceContext.daoFactory.createInstance(handlingCode, packageName, DaoTyped.class);
	}
}
